package com.ablog.model;

import java.io.Serializable;

/**
 * (Admin)实体类
 *
 * @author mopeiwen
 * @since 2020-07-21 20:46:47
 */
public class Admin implements Serializable {
    private static final long serialVersionUID = -83418237160373923L;
    //管理员ID
    private String id;
    //账号
    private String username;
    //密码
    private String password;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

	public Admin(String id, String username, String password) {
		super();
		this.id = id;
		this.username = username;
		this.password = password;
	}

	public Admin() {
		super();
	}

	public Admin(String username, String password) {
		super();
		this.username = username;
		this.password = password;
	}

	@Override
	public String toString() {
		return "Admin [id=" + id + ", username=" + username + ", password=" + password + "]";
	}

}